<script type="text/html" template lay-done="layui.data.sendParams(d.params)">
  <div class="layui-form" lay-filter="form_store">
    <input type="hidden" name="id" value="{{d.params.id || ''}}"/>
    <div class="layui-form-item">
      <label class="layui-form-label">门店名称</label>
      <div class="layui-input-inline">
        <input type="text" name="name" value="{{d.params.name || ''}}" lay-verify="required" autocomplete="off"
               class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">手机号</label>
      <div class="layui-input-inline">
        <input type="text" name="mobile" value="{{d.params.mobile || ''}}" lay-verify="required" autocomplete="off"
               class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">分账账号</label>
      <div class="layui-input-inline" style="width: 300px">
        <input type="text" name="divide_account" value="{{d.params.divide_account || ''}}" autocomplete="off"
               class="layui-input" placeholder="未设置则资金直接进入代理账号">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label"></label>
      <div class="layui-inline">代理收取</div>
      <div class="layui-inline" style="width: 80px">
        <input type="number" autocomplete="off" class="layui-input"
               name="agent_service_fee_rate" value="{{d.params.agent_service_fee_rate || 0}}">
      </div>
      <div class="layui-inline"> % 手续费</div>
    </div>
    <div class="layui-form-item">
      <div class="layui-footer">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
          <input type="button" lay-submit lay-filter="submit_store" value="确认" class="layui-btn">
        </div>
      </div>
    </div>
  </div>
</script>
<script>
  layui.data.sendParams = function (obj) {
  }
</script>
